<template>
	<view class="p-l-20 p-r-20 p-t-20">
		<view class="p-20 bg-white xs" style="border-radius: 12upx;">
			<text class="bold">{{info.question}}</text>
			
			<view class="m-t-20 p-l-10 p-r-10" style="color: #A5A5A5;">
				{{info.answer}}
			</view>
		</view>
	</view>
</template>

<script>
	import {questionInfo} from '@/api/app';
	export default {
		data() {
			return {
				info:{}
			}
		},
		methods: {
			questionInfoFun(id){
				questionInfo({id}).then(res=>{
					this.info = res.data.info;
				})
			}
		},
		onLoad({id}) {
			this.questionInfoFun(id)
		}
	}
</script>

<style>

</style>
